package it.pir.es09ChatRMIPushCommand;

import java.io.Serializable;
public class Message implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String text;
	private String user;
	
	//In questo caso non serve pi� l'id perch� la chat � di tipo push
	public Message(String text, String user){
		this.text=text;
		this.user = user;
	}
	
	public String getText(){
		return text;
	}
	
	public String getUser(){
		return user;
	}

}
